<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String PATH = request.getContextPath();

String error = (String)request.getAttribute("ERROR");
%>

<jsp:include page="common/header.jsp">
	<jsp:param name="title" value="首页"/>
</jsp:include>

<div class="page" style="margin-top:20px">
	<div class="grid">
		<div class="row">
			<div class="span7">
				<img src="<%=PATH %>/public/images/login-bg.jpg"/>
			</div>
			
			<div class="span5" style="background-color:#f1f1f1">
				<form action="<%=PATH %>/login.htm" method="post">
				<input type="hidden" name="app" value="0"/>
				<div class="bg-color-blueDark padding20 fg-color-white" style="font-size:24px;font-weight:bold">用户登录</div>
				<div class="grid hero-unit">
				
					<div class="row">
						<i class="icon-user-2"></i>
						<div class="input-control text">
							<input type="text" name="name" placeholder="职员姓名..."/>
						</div>
					</div>
					
					<div class="row">
						<i class="icon-locked-2"></i>
						<div class="input-control password">
							<input type="password" name="password" placeholder="请输入您的登录密码..."/>
						</div>
					</div>
					
					<div class="row">
						<input type="submit" value="登录" class="bg-color-blue"/>
						<span class="fg-color-red" style="font-weight:bold"><%=error==null?"":error %></span>
					</div>
				</div>
				</form>
				
			</div>
			
		</div>
	</div>
</div>

<jsp:include page="common/footer.jsp" />